package com.hollycrm.hollysqm.core.vo;

import com.hollycrm.hollysqm.core.target.DocColumn;
import com.hollycrm.hollysqm.entities.TblSnsSessionQuery;

/**
 * 该类可以对TblVocCustcontinfo实体对象进行包装，使其符合solr文档格式
 * @author jianglong
 * @date 2017年3月10日 下午5:36:06
 */
public class I8DocBean {
	@DocColumn(name="id")
	private String id;
	@DocColumn
	private String sessionId;
	@DocColumn
	private Long sessionLength;
	@DocColumn
	private String sessionType;
	@DocColumn
	private String serviceType;
	@DocColumn
	private Long satisfaction;
	@DocColumn
	private Long resolveStatus;
	@DocColumn
	private Long closeType;
	@DocColumn
	private String remark;
	@DocColumn
	private String creator;
	@DocColumn
	private String createTime;
	@DocColumn
	private String lastModifier;
	@DocColumn
	private String lastModifyTime;
	@DocColumn
	private String domainId;
	@DocColumn
	private String userCode;
	@DocColumn
	private String userName;
	@DocColumn
	private String agentCode;
	@DocColumn
	private String agentName;
	@DocColumn
	private String phone;
	@DocColumn
	private String contactTime;
	@DocColumn
	private String channelId;
	@DocColumn
	private String channelType;
	@DocColumn
	private String orgId;
	@DocColumn
	private String closeTime;
	@DocColumn
	private Long sessionStatus;
	@DocColumn
	private Long isSolve;
	@DocColumn
	private Long firstreplay;
	@DocColumn
	private String year;
	@DocColumn
	private String month;
	@DocColumn
	private String week;
	@DocColumn
	private String day;
	@DocColumn
	private String txtContent;
	@DocColumn
	private String txtContentUser;
	@DocColumn
	private String txtContentAgent;
	@DocColumn
	private String qualityStatus;
	
	public I8DocBean(){		
	}
	
	public I8DocBean(TblSnsSessionQuery data){
		this.setId(data.getSessionId());
		this.setSessionId(data.getSessionId());
		this.setAgentCode(data.getAgentCode());
		this.setAgentName(data.getAgentName());
		this.setChannelId(data.getChannelId());
		this.setChannelType(data.getChannelType());
		this.setCloseTime(data.getCloseTime());
		this.setCloseType(data.getCloseType());
		this.setContactTime(data.getContactTime());
		this.setCreateTime(data.getCreateTime());
		this.setCreator(data.getCreator());
		this.setDay(data.getDay());
		this.setDomainId(data.getDomainId());
		this.setFirstreplay(data.getFirstreplay());
		this.setIsSolve(data.getIsSolve());
		this.setLastModifier(data.getLastModifier());
		this.setLastModifyTime(data.getLastModifyTime());
		this.setMonth(data.getMonth());
		this.setOrgId(data.getOrgId());
		this.setPhone(data.getPhone());
		this.setQualityStatus(data.getQualityStatus());
		this.setRemark(data.getRemark());
		this.setResolveStatus(data.getResolveStatus());
		this.setSatisfaction(data.getSatisfaction());
		this.setServiceType(data.getServiceType());		
		this.setSessionLength(data.getSessionLength());
		this.setSessionStatus(data.getSessionStatus());
		this.setSessionType(data.getSessionType());
		this.setTxtContent(data.getTxtContent());
		this.setTxtContentAgent(data.getTxtContentAgent());
		this.setTxtContentUser(data.getTxtContentUser());
		this.setUserCode(data.getUserCode());
		this.setUserName(data.getUserName());
		this.setWeek(data.getWeek());
		this.setYear(data.getYear());
	}
	
	public TblSnsSessionQuery getSnsSessionQuery(){
		return new TblSnsSessionQuery(sessionId, sessionLength, sessionType, serviceType,
				satisfaction, resolveStatus, closeType, remark, creator, createTime,
				lastModifier, lastModifyTime, domainId, userCode, userName,
				agentCode, agentName, phone, contactTime, channelId, channelType,
				 orgId, closeTime, sessionStatus, isSolve, firstreplay, year, month,
				week, day, txtContent, txtContentUser, txtContentAgent,
				qualityStatus);
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getSessionId() {
		return sessionId;
	}
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}
	public Long getSessionLength() {
		return sessionLength;
	}
	public void setSessionLength(Long sessionLength) {
		this.sessionLength = sessionLength;
	}
	public String getSessionType() {
		return sessionType;
	}
	public void setSessionType(String sessionType) {
		this.sessionType = sessionType;
	}
	public String getServiceType() {
		return serviceType;
	}
	public void setServiceType(String serviceType) {
		this.serviceType = serviceType;
	}
	public Long getSatisfaction() {
		return satisfaction;
	}
	public void setSatisfaction(Long satisfaction) {
		this.satisfaction = satisfaction;
	}
	public Long getResolveStatus() {
		return resolveStatus;
	}
	public void setResolveStatus(Long resolveStatus) {
		this.resolveStatus = resolveStatus;
	}
	public Long getCloseType() {
		return closeType;
	}
	public void setCloseType(Long closeType) {
		this.closeType = closeType;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getLastModifier() {
		return lastModifier;
	}
	public void setLastModifier(String lastModifier) {
		this.lastModifier = lastModifier;
	}
	public String getLastModifyTime() {
		return lastModifyTime;
	}
	public void setLastModifyTime(String lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	public String getDomainId() {
		return domainId;
	}
	public void setDomainId(String domainId) {
		this.domainId = domainId;
	}
	public String getUserCode() {
		return userCode;
	}
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getAgentCode() {
		return agentCode;
	}
	public void setAgentCode(String agentCode) {
		this.agentCode = agentCode;
	}
	public String getAgentName() {
		return agentName;
	}
	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getContactTime() {
		return contactTime;
	}
	public void setContactTime(String contactTime) {
		this.contactTime = contactTime;
	}
	public String getChannelId() {
		return channelId;
	}
	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}
	public String getChannelType() {
		return channelType;
	}
	public void setChannelType(String channelType) {
		this.channelType = channelType;
	}
	public String getOrgId() {
		return orgId;
	}
	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	public String getCloseTime() {
		return closeTime;
	}
	public void setCloseTime(String closeTime) {
		this.closeTime = closeTime;
	}
	public Long getSessionStatus() {
		return sessionStatus;
	}
	public void setSessionStatus(Long sessionStatus) {
		this.sessionStatus = sessionStatus;
	}
	public Long getIsSolve() {
		return isSolve;
	}
	public void setIsSolve(Long isSolve) {
		this.isSolve = isSolve;
	}
	public Long getFirstreplay() {
		return firstreplay;
	}
	public void setFirstreplay(Long firstreplay) {
		this.firstreplay = firstreplay;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public String getWeek() {
		return week;
	}
	public void setWeek(String week) {
		this.week = week;
	}
	public String getDay() {
		return day;
	}
	public void setDay(String day) {
		this.day = day;
	}
	public String getTxtContent() {
		return txtContent;
	}
	public void setTxtContent(String txtContent) {
		this.txtContent = txtContent;
	}
	public String getTxtContentUser() {
		return txtContentUser;
	}
	public void setTxtContentUser(String txtContentUser) {
		this.txtContentUser = txtContentUser;
	}
	public String getTxtContentAgent() {
		return txtContentAgent;
	}
	public void setTxtContentAgent(String txtContentAgent) {
		this.txtContentAgent = txtContentAgent;
	}
	public String getQualityStatus() {
		return qualityStatus;
	}
	public void setQualityStatus(String qualityStatus) {
		this.qualityStatus = qualityStatus;
	}			
}
